package com.cmsz.cashier.bean;

import java.io.Serializable;
import java.util.List;

import com.cmsz.framework.log.Logable;

public class CashierOrderInoBean implements Logable,Serializable{

	private static final long serialVersionUID = -1814443187943344866L;


	/**
	 * 交易业务代码
	 */
	private String activityCode;
	/**
	 * 请求方系统
	 */
	private String reqSys;
	/**
	 * 请求时间YYYYMMDD
	 */
	private String reqDate;
	/**
	 * 发起方时间戳YYYYMMDDHHmmss
	 */
	private String reqDateTime;
	/**
	 * 订单编号
	 */
	private String orderNo;
	/**
	 * 买家ID 
	 */
	private String buyerId;
	/**
	 * 订单总金额
	 */
	private Integer orderMoney;
	/**
	 * 用户支付金额
	 */
	private Integer payment;
	/**
	 * 商户赠送金额
	 */
	private Integer gift;
	/**
	 * 商户活动编号
	 */
	private String merActivityId;
	/**
	 * 支付方式
	 */
	private String paymentType;
	/**
	 * 支付方式限定
	 */
	private String paymentLimit;
	/**
	 * 产品编号
	 */
	private String productId;
	/**
	 * 产品名称
	 */
	private String productName;
	/**
	 * 产品描述
	 */
	private String productDesc;
	/**
	 * 产品展示地址
	 */
	private String productUrl;
	/**
	 * 订单结果通知地址
	 */
	private String notifyUrl;
	/**
	 * 支付成功返回地址
	 */
	private String returnUrl;
	/**
	 * 客户端IP
	 */
	private String clientIp;
	/**
	 * 商户自定义参数
	 */
	private String customParam;
	/**
	 * 微信公众号ID
	 */
	private String weixinAppId;
	/**
	 * 公众号下的加密的用户标识，同一个用户在不同的公众号下的标识不同
	 */
	private String weixinOpenId;
	/**
	 * 订单状态码
	 */
	private String resultCode;
	/**
	 * 订单状态描述
	 */
	private String resultDesc;
	/**
	 * 帐期日YYYYMMDD
	 */
	private String settleDate;
	
	/**
	 * 支付参数，key1=value1&key2=value2&key3=value3•••形式出现
	 */
	private String parameters;
	/**
	 * 应答/错误代码
	 */
	private String rspCode;
	/**
	 * 应答/错误描述
	 */
	private String rspDesc;
	
	/**
	 * 手机号段类型
	 */
	private String idType;
	/**
	 * 手机号
	 */
	private String idValue;
	/**
	 * 在PaymentType为ALIPAY-BANK设置的必填字段
	 */
	private String defaultBank;
	/**
	 * 请求方流水
	 */
	private String reqTransId;
	
	/**
	 * 该订单可使用支付方式列表
	 */
	
	/**
	 * 客户端类型
	 */
	private String clientType;
	
	/**
	 * 客户端详细信息
	 */
	private String userAgent;
	
	/**
	 * 最后修改时间
	 */
	private String lastUpdTime;
	
	/**
	 * 可用支付方式列表
	 */
	private List<String>payTypeList;
	private String cerID;
	private String signValue;
	
	public String getCerID() {
		return cerID;
	}


	public void setCerID(String cerID) {
		this.cerID = cerID;
	}


	public String getSignValue() {
		return signValue;
	}


	public void setSignValue(String signValue) {
		this.signValue = signValue;
	}

	public String getLastUpdTime() {
		return lastUpdTime;
	}


	public void setLastUpdTime(String lastUpdTime) {
		this.lastUpdTime = lastUpdTime;
	}


	public String getUserAgent() {
		return userAgent;
	}


	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}


	
	
	
	public List<String> getPayTypeList() {
		return payTypeList;
	}


	public void setPayTypeList(List<String> payTypeList) {
		this.payTypeList = payTypeList;
	}


	public String getActivityCode() {
		return activityCode;
	}


	public void setActivityCode(String activityCode) {
		this.activityCode = activityCode;
	}


	public String getReqSys() {
		return reqSys;
	}


	public void setReqSys(String reqSys) {
		this.reqSys = reqSys;
	}


	public String getReqDate() {
		return reqDate;
	}


	public void setReqDate(String reqDate) {
		this.reqDate = reqDate;
	}


	public String getReqDateTime() {
		return reqDateTime;
	}


	public void setReqDateTime(String reqDateTime) {
		this.reqDateTime = reqDateTime;
	}

	public String getReqTransId() {
		return reqTransId;
	}


	public void setReqTransId(String reqTransId) {
		this.reqTransId = reqTransId;
	}


	public String getOrderNo() {
		return orderNo;
	}


	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}


	public String getBuyerId() {
		return buyerId;
	}


	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}


	public Integer getOrderMoney() {
		return orderMoney;
	}


	public void setOrderMoney(Integer orderMoney) {
		this.orderMoney = orderMoney;
	}


	public Integer getPayment() {
		return payment;
	}


	public void setPayment(Integer payment) {
		this.payment = payment;
	}


	public Integer getGift() {
		return gift;
	}


	public void setGift(Integer gift) {
		this.gift = gift;
	}


	public String getMerActivityId() {
		return merActivityId;
	}


	public void setMerActivityId(String merActivityId) {
		this.merActivityId = merActivityId;
	}


	public String getPaymentType() {
		return paymentType;
	}


	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}


	public String getPaymentLimit() {
		return paymentLimit;
	}


	public void setPaymentLimit(String paymentLimit) {
		this.paymentLimit = paymentLimit;
	}


	public String getProductId() {
		return productId;
	}


	public void setProductId(String productId) {
		this.productId = productId;
	}


	public String getProductName() {
		return productName;
	}


	public void setProductName(String productName) {
		this.productName = productName;
	}


	public String getProductDesc() {
		return productDesc;
	}


	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}


	public String getProductUrl() {
		return productUrl;
	}


	public void setProductUrl(String productUrl) {
		this.productUrl = productUrl;
	}


	public String getNotifyUrl() {
		return notifyUrl;
	}


	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}


	public String getReturnUrl() {
		return returnUrl;
	}


	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}


	public String getClientIp() {
		return clientIp;
	}


	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}


	public String getCustomParam() {
		return customParam;
	}


	public void setCustomParam(String customParam) {
		this.customParam = customParam;
	}


	public String getWeixinAppId() {
		return weixinAppId;
	}


	public void setWeixinAppId(String weixinAppId) {
		this.weixinAppId = weixinAppId;
	}


	public String getWeixinOpenId() {
		return weixinOpenId;
	}


	public void setWeixinOpenId(String weixinOpenId) {
		this.weixinOpenId = weixinOpenId;
	}


	public String getResultCode() {
		return resultCode;
	}


	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}


	public String getResultDesc() {
		return resultDesc;
	}


	public void setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
	}


	public String getSettleDate() {
		return settleDate;
	}


	public void setSettleDate(String settleDate) {
		this.settleDate = settleDate;
	}


	public String getParameters() {
		return parameters;
	}


	public void setParameters(String parameters) {
		this.parameters = parameters;
	}


	public String getRspCode() {
		return rspCode;
	}


	public void setRspCode(String rspCode) {
		this.rspCode = rspCode;
	}


	public String getRspDesc() {
		return rspDesc;
	}


	public void setRspDesc(String rspDesc) {
		this.rspDesc = rspDesc;
	}


	public String getIdType() {
		return idType;
	}


	public void setIdType(String idType) {
		this.idType = idType;
	}


	public String getIdValue() {
		return idValue;
	}


	public void setIdValue(String idValue) {
		this.idValue = idValue;
	}


	public String getDefaultBank() {
		return defaultBank;
	}


	public void setDefaultBank(String defaultBank) {
		this.defaultBank = defaultBank;
	}


	public String getClientType() {
		return clientType;
	}


	public void setClientType(String clientType) {
		this.clientType = clientType;
	}


	@Override
	public String toString() {
		return "CashierOrderInoBean [activityCode=" + activityCode
				+ ", reqSys=" + reqSys + ", reqDate=" + reqDate
				+ ", reqDateTime=" + reqDateTime + ", orderNo=" + orderNo
				+ ", buyerId=" + buyerId + ", orderMoney=" + orderMoney
				+ ", payment=" + payment + ", gift=" + gift
				+ ", merActivityId=" + merActivityId + ", paymentType="
				+ paymentType + ", paymentLimit=" + paymentLimit
				+ ", productId=" + productId + ", productName=" + productName
				+ ", productDesc=" + productDesc + ", productUrl=" + productUrl
				+ ", notifyUrl=" + notifyUrl + ", returnUrl=" + returnUrl
				+ ", clientIp=" + clientIp + ", customParam=" + customParam
				+ ", weixinAppId=" + weixinAppId + ", weixinOpenId="
				+ weixinOpenId + ", resultCode=" + resultCode + ", resultDesc="
				+ resultDesc + ", settleDate=" + settleDate + ", parameters="
				+ parameters + ", rspCode=" + rspCode + ", rspDesc=" + rspDesc
				+ ", idType=" + idType + ", idValue=" + idValue
				+ ", defaultBank=" + defaultBank + ", reqTransId=" + reqTransId
				+ ", clientType=" + clientType + ", userAgent=" + userAgent
				+ ", lastUpdTime=" + lastUpdTime + ", payTypeList="
				+ payTypeList + "]";
	}


	@Override
	public String gainActivityCode() {
		// TODO Auto-generated method stub
		return activityCode;
	}


	@Override
	public String gainReqSys() {
		// TODO Auto-generated method stub
		return reqSys;
	}


	@Override
	public String gainUniqueId() {
		// TODO Auto-generated method stub
		return orderNo;
	}


	@Override
	public String gainProvince() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
